package com.eagle.log.dao.impl;

import java.util.Date;
import java.util.HashMap;
import java.util.List;

import org.apache.struts2.ServletActionContext;

import com.eagle.commons.pojo.Code;
import com.eagle.commons.pub.IBATISDB;
import com.eagle.commons.vo.tbl_InvPosLog;

import com.eagle.commons.vo.tbl_PosOperatorDic;
import com.eagle.log.dao.OpLogDao;

import com.eagle.utils.DateUtil;

import com.ibatis.sqlmap.client.SqlMapClient;

public class OpLogDaoImpl implements OpLogDao {
	private SqlMapClient sqlMapClient;

	/* (non-Javadoc)
	 * @see com.eagle.log.dao.impl.OpLogDao#addInvPosLog(com.eagle.commons.vo.tbl_InvPosLog)
	 */
	public Boolean addInvPosLog(tbl_InvPosLog posLog) throws Exception {
		Boolean flag = false;
		if (sqlMapClient.insert(IBATISDB.creStmId("Ora_InvPosLog","addInvPosLog"), posLog) != null) {
			flag = true;
		}
		return flag;
	}

	public SqlMapClient getSqlMapClient() {
		return sqlMapClient;
	}

	public void setSqlMapClient(SqlMapClient sqlMapClient) {
		this.sqlMapClient = sqlMapClient;
	}

}
